﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.ComponentModel.DataAnnotations;

namespace BCDto.OA.WorkflowTemplate.WorkflowTemplateStepLinePathConfig
{
	/// <summary>
	/// 工作流末班步骤线条路径配置
	/// </summary>
	public class WorkflowTemplateStepLinePathConfigRequestDto
	{
		/// <summary>
		/// 步骤线Code
		/// </summary>		
		[Display(Name = "步骤线Code")]
		[Required(ErrorMessage = "{0} 不应为空")]
		[StringLength(50, MinimumLength = 2, ErrorMessage = "{0} 长度应大于{2} 且小于{1}")]
		public string StepLineCode { get; set; }
		/// <summary>
		/// 坐标X
		/// </summary>		
		[Display(Name = "坐标X")]
		[Required(ErrorMessage = "{0} 不应为空")]
		public double CoordinateX { get; set; }
		/// <summary>
		/// 坐标Y
		/// </summary>		
		[Display(Name = "坐标Y")]
		[Required(ErrorMessage = "{0} 不应为空")]
		public double CoordinateY { get; set; }
		/// <summary>
		/// 坐标顺序
		/// </summary>		
		[Display(Name = "坐标顺序")]
		[Required(ErrorMessage = "{0} 不应为空")]
		public int CoordinateOrder { get; set; }
	}
}

